package com.share.example.stock.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.common.common.Page;
import com.share.example.stock.model.db.StockDayPrice;
import com.share.example.stock.model.rsp.StockDayPricePageReq;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author author
 * @since 2023-06-10
 */
public interface IStockDayPriceService extends IService<StockDayPrice> {
    void resetErrorCount(int init);
    Page pageList(StockDayPricePageReq req);

    List<StockDayPrice> downToDay();

    List<StockDayPrice> downDayHist(Collection<String> setCode,String startDate, String endDate);

    Map<String, List<String>> checkDayHis(String startDate, String endDate);

    List<StockDayPrice> listByCode(String code);
}
